package com.jiangyg.mall.product.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 类描述：sku销售属性&值
 * 
 * @author jiangyg
 * @email email@jiangyg.com
 * @date 2021-10-18 22:25:28
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode
@TableName("mp_sku_sale_attr_value")
public class SkuSaleAttrValue implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId(type = IdType.ASSIGN_ID)
	@TableField("id")
	private Long id;

	/**
	 * sku_id
	 */
	@TableField("sku_id")
	private Long skuId;

	/**
	 * attr_id
	 */
	@TableField("attr_id")
	private Long attrId;

	/**
	 * 销售属性名
	 */
	@TableField("attr_name")
	private String attrName;

	/**
	 * 销售属性值
	 */
	@TableField("attr_value")
	private String attrValue;

	/**
	 * 顺序
	 */
	@TableField("attr_sort")
	private Integer attrSort;

}
